import React,{Component} from "react";
import "./index.css"

class Index extends Component{
	render(){
		return(
            <div className="tip" style={{"top":this.props.top+"rem","display":this.props.isShow?"block":"none"}}>
                <span>{this.props.tipmsg}</span>
            </div>
		)
	}
}

export default Index